<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<jsp:useBean id="loginBean" class="mybean.data.login" scope="session"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加单车管理人信息</title>
	<link rel="stylesheet" type="text/css" href="css/reset.css">
	<link rel="stylesheet" type="text/css" href="css/common.css">
	<link rel="stylesheet" type="text/css" href="css/index-1.css">
	<link rel="stylesheet" type="text/css" href="css/index-2.css">
</head>
<body>
<%@ include file="Ahead.txt" %>
	<center class="Admin-content">   
	<%	if(loginBean==null){
			out.println("<script language = javascript>alert('请重新登录!');");
			out.println("location.href='index.jsp'</script>");
			return;
		}
		else{
			boolean b=loginBean.getLogname()==null || loginBean.getLogname().length()==0;
			if(b){
				out.println("<script language = javascript>alert('请重新登录!');");
				out.println("location.href='index.jsp'</script>");
				return;
			}
		}		%>
	<center><h3>新增单车管理人信息</h3></center>
	<form action ="addManagerServlet" method="post">  
	<table>
       <tr><td height=40px>管理人编号：<input type="text"  name ="mid" ></td></tr>
       <tr><td height=40px>管理人姓名：<input type="text"  name ="name" ></td></tr>
       <tr><td height=40px>电话号码：&nbsp;&nbsp;&nbsp;<input type="text" name ="tel" > </td></tr> 
      <tr><td height=40px><center><input type = "submit" value = "新增" class="submit"></center>  </td></tr>
       </table>
    </form>
    </center>
</body>
</html>